package com.fuhao.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.fuhao.springboot.mapper")
@EnableTransactionManagement
public class Application {
    public static void main(String[] args) {
        //启动springBoot,启动spring容器，启动其内嵌的tomcat
        SpringApplication.run(Application.class, args);
    }
}
